
import {createRouter,createWebHashHistory} from 'vue-router'

const routes = [
  { path: '/',name: 'home',component: () => import(/* webpackChunkName: "about" */ '../views/home/index.vue') },
]

const router = createRouter({
  history:createWebHashHistory(),  //桌面应用程序 使用createWebHistory 模式 要不然跳不过去
  routes
})

export default router
